home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Digital Chisel 2.0 & Multimedia Libraries
/
Digital Chisel 2.0 and Multimedia Libraries (Pierian Spring Software)(1995).iso
/
Digital Chisel Installer
/
Digital Chisel Installer.rsrc
/
bin.rsrc_CODE_6_Libraries.txt
< prev
next >
Wrap
Text File
|
1995-12-05
|
105KB
|
1,890 lines
# near model CODE resource
# jump table entries: 880-918 (39 of them)
export_147:
00000000 4E56 FFD4 link A6, -0x002C
00000004 486E FFFC pea.l [A6 - 0x4]
00000008 A874 syscall GetPort
0000000A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000000E A873 syscall SetPort
00000010 486E FFEA pea.l [A6 - 0x16]
00000014 A898 syscall GetPenState
00000016 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000001A 3F2E 000C move.w -[A7], [A6 + 0xC]
0000001E 486E FFE8 pea.l [A6 - 0x18]
00000022 486E FFE4 pea.l [A6 - 0x1C]
00000026 486E FFDC pea.l [A6 - 0x24]
0000002A A98D syscall GetDialogItem/GetDItem
0000002C 2F3C 0003 0003 move.l -[A7], 0x30003
00000032 A89B syscall PenSize
00000034 2055 movea.l A0, [A5]
00000036 41E8 FFF0 lea.l A0, [A0 - 0x10]
0000003A 43EE FFD4 lea.l A1, [A6 - 0x2C]
0000003E 22D8 move.l [A1]+, [A0]+
00000040 2290 move.l [A1], [A0]
00000042 486E FFD4 pea.l [A6 - 0x2C]
00000046 A89D syscall PenPat
00000048 486E FFDC pea.l [A6 - 0x24]
0000004C 2F3C FFFC FFFC move.l -[A7], 0xFFFCFFFC
00000052 A8A9 syscall InsetRect
00000054 486E FFDC pea.l [A6 - 0x24]
00000058 2F3C 0010 0010 move.l -[A7], 0x100010
0000005E A8B0 syscall FrameRoundRect
00000060 486E FFEA pea.l [A6 - 0x16]
00000064 A899 syscall SetPenState
00000066 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000006A A873 syscall SetPort
0000006C 4E5E unlink A6
0000006E 4E75 rts
00000070 8842 or.w D4, D2
00000072 6F6C ble +0x6E /* 000000E0 */
00000074 644C bcc +0x4E /* 000000C2 */
00000076 696E bvs +0x70 /* 000000E6 */
00000078 6500 0000 bcs +0x2 /* 0000007A */
// begin alternate branch 0000007A-00000080
label0000007A:
0000007A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_148: // at 0000007C (misaligned)
0000007E FFF8 .invalid <<F/7/7>>
// end alternate branch 0000007A-00000080
export_148:
label0000007A: // (misaligned)
0000007C 4E56 FFF8 link A6, -0x0008
00000080 48E7 0118 movem.l -[A7], D7,A3,A4
00000084 3E2E 0008 move.w D7, [A6 + 0x8]
00000088 99CC sub.l A4, A4
0000008A 3F07 move.w -[A7], D7
0000008C A979 syscall CouldDialog
0000008E 42A7 clr.l -[A7]
00000090 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
00000096 3F07 move.w -[A7], D7
00000098 A9A0 syscall GetResource
0000009A 265F movea.l A3, [A7]+
0000009C 200B move.l D0, A3
0000009E 672A beq +0x2C /* 000000CA */
000000A0 3F2E 000A move.w -[A7], [A6 + 0xA]
000000A4 486E FFF8 pea.l [A6 - 0x8]
000000A8 3F07 move.w -[A7], D7
000000AA 4EBA 003C jsr [PC + 0x3C /* 000000E8 */]
000000AE 2053 movea.l A0, [A3]
000000B0 20AE FFF8 move.l [A0], [A6 - 0x8]
000000B4 216E FFFC 0004 move.l [A0 + 0x4], [A6 - 0x4]
000000BA 4297 clr.l [A7]
000000BC 3F07 move.w -[A7], D7
000000BE 42A7 clr.l -[A7]
000000C0 4878 FFFF push.l 0xFFFF
// begin alternate branch 000000C2-000000C4
label000000C2:
000000C2 FFFF .invalid <<F/7/7>>
// end alternate branch 000000C2-000000C4
label000000C2: // (misaligned)
000000C4 A97C syscall GetNewDialog
000000C6 285F movea.l A4, [A7]+
000000C8 588F addq.l A7, 4
label000000CA:
000000CA 3F07 move.w -[A7], D7
000000CC A97A syscall FreeDialog
000000CE 200C move.l D0, A4
000000D0 4CDF 1880 movem.l D7,A3,A4, [A7]+
000000D4 4E5E unlink A6
000000D6 4E75 rts
000000D8 8D47 6574 pack D6, D7, 0x6574
000000DC 4365 chk.w D1, -[A5]
000000DE 6E74 bgt +0x76 /* 00000154 */
label000000E0:
000000E0 6572 bcs +0x74 /* 00000154 */
000000E2 446C 6F67 neg.w [A4 + 0x6F67]
label000000E6:
000000E6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000000E8-000000EC
fn000000E8:
000000E8 4E56 FFD6 link A6, -0x002A
// end alternate branch 000000E8-000000EC
fn000000E8: // (misaligned)
000000EA FFD6 .invalid <<F/7/7>>
000000EC 42A7 clr.l -[A7]
000000EE 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
000000F4 3F2E 0008 move.w -[A7], [A6 + 0x8]
000000F8 A9A0 syscall GetResource
000000FA 2D5F FFEA move.l [A6 - 0x16], [A7]+
000000FE 4AAE FFEA tst.l [A6 - 0x16]
00000102 6700 0416 beq +0x418 /* 0000051A */
00000106 206E FFEA movea.l A0, [A6 - 0x16]
0000010A 2050 movea.l A0, [A0]
0000010C 2D50 FFDE move.l [A6 - 0x22], [A0]
00000110 2D68 0004 FFE2 move.l [A6 - 0x1E], [A0 + 0x4]
00000116 2055 movea.l A0, [A5]
00000118 41E8 FF8C lea.l A0, [A0 - 0x74]
0000011C 43EE FFD6 lea.l A1, [A6 - 0x2A]
00000120 22D8 move.l [A1]+, [A0]+
00000122 2290 move.l [A1], [A0]
00000124 066E 0014 FFD6 addi.w [A6 - 0x2A], 0x14
0000012A 206E FFEA movea.l A0, [A6 - 0x16]
0000012E 2050 movea.l A0, [A0]
00000130 3D68 0008 FFEE move.w [A6 - 0x12], [A0 + 0x8]
00000136 4A6E FFEE tst.w [A6 - 0x12]
0000013A 6708 beq +0xA /* 00000144 */
0000013C 0C6E 0004 FFEE cmpi.w [A6 - 0x12], 0x4
00000142 6610 bne +0x12 /* 00000154 */
label00000144:
00000144 046E 0012 FFDE subi.w [A6 - 0x22], 0x12
0000014A 526E FFE4 addq.w [A6 - 0x1C], 1
0000014E 526E FFE2 addq.w [A6 - 0x1E], 1
00000152 6036 bra +0x38 /* 0000018A */
label00000154:
00000154 0C6E 0010 FFEE cmpi.w [A6 - 0x12], 0x10
0000015A 6608 bne +0xA /* 00000164 */
0000015C 046E 0012 FFDE subi.w [A6 - 0x22], 0x12
00000162 6026 bra +0x28 /* 0000018A */
label00000164:
00000164 0C6E 0001 FFEE cmpi.w [A6 - 0x12], 0x1
0000016A 660E bne +0x10 /* 0000017A */
0000016C 486E FFDE pea.l [A6 - 0x22]
00000170 2F3C FFFC FFFC move.l -[A7], 0xFFFCFFFC
00000176 A8A9 syscall InsetRect
00000178 6010 bra +0x12 /* 0000018A */
label0000017A:
0000017A 0C6E 0003 FFEE cmpi.w [A6 - 0x12], 0x3
00000180 6608 bne +0xA /* 0000018A */
00000182 546E FFE4 addq.w [A6 - 0x1C], 2
00000186 546E FFE2 addq.w [A6 - 0x1E], 2
label0000018A:
0000018A 302E 000E move.w D0, [A6 + 0xE]
0000018E 0C40 000B cmpi.w D0, 0xB
00000192 6200 0322 bhi +0x324 /* 000004B6 */
00000196 43FA 03A6 lea.l A1, [PC + 0x3A6 /* 0000053E, value 0xFF78FC64 */]
0000019A D040 add.w D0, D0
0000019C D2F1 0000 add.w A1, [A1 + D0.w]
000001A0 4ED1 jmp [A1]
000001A2 302E FFDA move.w D0, [A6 - 0x26]
000001A6 906E FFD6 sub.w D0, [A6 - 0x2A]
000001AA E240 asr D0.w, 1
000001AC D06E FFD6 add.w D0, [A6 - 0x2A]
000001B0 3D40 FFE6 move.w [A6 - 0x1A], D0
000001B4 302E FFDC move.w D0, [A6 - 0x24]
000001B8 906E FFD8 sub.w D0, [A6 - 0x28]
000001BC E240 asr D0.w, 1
000001BE D06E FFD8 add.w D0, [A6 - 0x28]
000001C2 3D40 FFE8 move.w [A6 - 0x18], D0
000001C6 486E FFD6 pea.l [A6 - 0x2A]
000001CA 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
000001CE 486E FFDE pea.l [A6 - 0x22]
000001D2 4EBA 0382 jsr [PC + 0x382 /* 00000556 */]
000001D6 4FEF 000C lea.l A7, [A7 + 0xC]
000001DA 6000 02DA bra +0x2DC /* 000004B6 */
000001DE 302E FFDA move.w D0, [A6 - 0x26]
000001E2 906E FFD6 sub.w D0, [A6 - 0x2A]
000001E6 E440 asr D0.w, 2
000001E8 D06E FFD6 add.w D0, [A6 - 0x2A]
000001EC 3D40 FFE6 move.w [A6 - 0x1A], D0
000001F0 302E FFDC move.w D0, [A6 - 0x24]
000001F4 906E FFD8 sub.w D0, [A6 - 0x28]
000001F8 E240 asr D0.w, 1
000001FA D06E FFD8 add.w D0, [A6 - 0x28]
000001FE 3D40 FFE8 move.w [A6 - 0x18], D0
00000202 486E FFD6 pea.l [A6 - 0x2A]
00000206 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
0000020A 486E FFDE pea.l [A6 - 0x22]
0000020E 4EBA 0346 jsr [PC + 0x346 /* 00000556 */]
00000212 4FEF 000C lea.l A7, [A7 + 0xC]
00000216 6000 029E bra +0x2A0 /* 000004B6 */
0000021A 302E FFDA move.w D0, [A6 - 0x26]
0000021E 906E FFD6 sub.w D0, [A6 - 0x2A]
00000222 E440 asr D0.w, 2
00000224 D06E FFD6 add.w D0, [A6 - 0x2A]
00000228 3D40 FFE6 move.w [A6 - 0x1A], D0
0000022C 302E FFDC move.w D0, [A6 - 0x24]
00000230 906E FFD8 sub.w D0, [A6 - 0x28]
00000234 E440 asr D0.w, 2
00000236 D06E FFD8 add.w D0, [A6 - 0x28]
0000023A 3D40 FFE8 move.w [A6 - 0x18], D0
0000023E 486E FFD6 pea.l [A6 - 0x2A]
00000242 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00000246 486E FFDE pea.l [A6 - 0x22]
0000024A 4EBA 030A jsr [PC + 0x30A /* 00000556 */]
0000024E 4FEF 000C lea.l A7, [A7 + 0xC]
00000252 6000 0262 bra +0x264 /* 000004B6 */
00000256 302E FFDA move.w D0, [A6 - 0x26]
0000025A 906E FFD6 sub.w D0, [A6 - 0x2A]
0000025E E240 asr D0.w, 1
00000260 D06E FFD6 add.w D0, [A6 - 0x2A]
00000264 3D40 FFE6 move.w [A6 - 0x1A], D0
00000268 302E FFDC move.w D0, [A6 - 0x24]
0000026C 906E FFD8 sub.w D0, [A6 - 0x28]
00000270 E440 asr D0.w, 2
00000272 D06E FFD8 add.w D0, [A6 - 0x28]
00000276 3D40 FFE8 move.w [A6 - 0x18], D0
0000027A 486E FFD6 pea.l [A6 - 0x2A]
0000027E 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00000282 486E FFDE pea.l [A6 - 0x22]
00000286 4EBA 02CE jsr [PC + 0x2CE /* 00000556 */]
0000028A 4FEF 000C lea.l A7, [A7 + 0xC]
0000028E 6000 0226 bra +0x228 /* 000004B6 */
00000292 302E FFDA move.w D0, [A6 - 0x26]
00000296 906E FFD6 sub.w D0, [A6 - 0x2A]
0000029A E440 asr D0.w, 2
0000029C C1FC 0003 muls.w D0, 0x3
000002A0 D06E FFD6 add.w D0, [A6 - 0x2A]
000002A4 3D40 FFE6 move.w [A6 - 0x1A], D0
000002A8 302E FFDC move.w D0, [A6 - 0x24]
000002AC 906E FFD8 sub.w D0, [A6 - 0x28]
000002B0 E440 asr D0.w, 2
000002B2 D06E FFD8 add.w D0, [A6 - 0x28]
000002B6 3D40 FFE8 move.w [A6 - 0x18], D0
000002BA 486E FFD6 pea.l [A6 - 0x2A]
000002BE 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
000002C2 486E FFDE pea.l [A6 - 0x22]
000002C6 4EBA 028E jsr [PC + 0x28E /* 00000556 */]
000002CA 4FEF 000C lea.l A7, [A7 + 0xC]
000002CE 6000 01E6 bra +0x1E8 /* 000004B6 */
000002D2 302E FFDA move.w D0, [A6 - 0x26]
000002D6 906E FFD6 sub.w D0, [A6 - 0x2A]
000002DA E440 asr D0.w, 2
000002DC C1FC 0003 muls.w D0, 0x3
000002E0 D06E FFD6 add.w D0, [A6 - 0x2A]
000002E4 3D40 FFE6 move.w [A6 - 0x1A], D0
000002E8 302E FFDC move.w D0, [A6 - 0x24]
000002EC 906E FFD8 sub.w D0, [A6 - 0x28]
000002F0 E240 asr D0.w, 1
000002F2 D06E FFD8 add.w D0, [A6 - 0x28]
000002F6 3D40 FFE8 move.w [A6 - 0x18], D0
000002FA 486E FFD6 pea.l [A6 - 0x2A]
000002FE 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00000302 486E FFDE pea.l [A6 - 0x22]
00000306 4EBA 024E jsr [PC + 0x24E /* 00000556 */]
0000030A 4FEF 000C lea.l A7, [A7 + 0xC]
0000030E 6000 01A6 bra +0x1A8 /* 000004B6 */
00000312 302E FFDA move.w D0, [A6 - 0x26]
00000316 906E FFD6 sub.w D0, [A6 - 0x2A]
0000031A E440 asr D0.w, 2
0000031C C1FC 0003 muls.w D0, 0x3
00000320 D06E FFD6 add.w D0, [A6 - 0x2A]
00000324 3D40 FFE6 move.w [A6 - 0x1A], D0
00000328 302E FFDC move.w D0, [A6 - 0x24]
0000032C 906E FFD8 sub.w D0, [A6 - 0x28]
00000330 E440 asr D0.w, 2
00000332 C1FC 0003 muls.w D0, 0x3
00000336 D06E FFD8 add.w D0, [A6 - 0x28]
0000033A 3D40 FFE8 move.w [A6 - 0x18], D0
0000033E 486E FFD6 pea.l [A6 - 0x2A]
00000342 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00000346 486E FFDE pea.l [A6 - 0x22]
0000034A 4EBA 020A jsr [PC + 0x20A /* 00000556 */]
0000034E 4FEF 000C lea.l A7, [A7 + 0xC]
00000352 6000 0162 bra +0x164 /* 000004B6 */
00000356 302E FFDA move.w D0, [A6 - 0x26]
0000035A 906E FFD6 sub.w D0, [A6 - 0x2A]
0000035E E240 asr D0.w, 1
00000360 D06E FFD6 add.w D0, [A6 - 0x2A]
00000364 3D40 FFE6 move.w [A6 - 0x1A], D0
00000368 302E FFDC move.w D0, [A6 - 0x24]
0000036C 906E FFD8 sub.w D0, [A6 - 0x28]
00000370 E440 asr D0.w, 2
00000372 C1FC 0003 muls.w D0, 0x3
00000376 D06E FFD8 add.w D0, [A6 - 0x28]
0000037A 3D40 FFE8 move.w [A6 - 0x18], D0
0000037E 486E FFD6 pea.l [A6 - 0x2A]
00000382 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00000386 486E FFDE pea.l [A6 - 0x22]
0000038A 4EBA 01CA jsr [PC + 0x1CA /* 00000556 */]
0000038E 4FEF 000C lea.l A7, [A7 + 0xC]
00000392 6000 0122 bra +0x124 /* 000004B6 */
00000396 302E FFDA move.w D0, [A6 - 0x26]
0000039A 906E FFD6 sub.w D0, [A6 - 0x2A]
0000039E E440 asr D0.w, 2
000003A0 D06E FFD6 add.w D0, [A6 - 0x2A]
000003A4 3D40 FFE6 move.w [A6 - 0x1A], D0
000003A8 302E FFDC move.w D0, [A6 - 0x24]
000003AC 906E FFD8 sub.w D0, [A6 - 0x28]
000003B0 E440 asr D0.w, 2
000003B2 C1FC 0003 muls.w D0, 0x3
000003B6 D06E FFD8 add.w D0, [A6 - 0x28]
000003BA 3D40 FFE8 move.w [A6 - 0x18], D0
000003BE 486E FFD6 pea.l [A6 - 0x2A]
000003C2 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
000003C6 486E FFDE pea.l [A6 - 0x22]
000003CA 4EBA 018A jsr [PC + 0x18A /* 00000556 */]
000003CE 4FEF 000C lea.l A7, [A7 + 0xC]
000003D2 6000 00E2 bra +0xE4 /* 000004B6 */
000003D6 42A7 clr.l -[A7]
000003D8 A924 syscall FrontWindow
000003DA 2D5F FFF8 move.l [A6 - 0x8], [A7]+
000003DE 6730 beq +0x32 /* 00000410 */
000003E0 486E FFFC pea.l [A6 - 0x4]
000003E4 A874 syscall GetPort
000003E6 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000003EA A873 syscall SetPort
000003EC 206E FFF8 movea.l A0, [A6 - 0x8]
000003F0 2D68 0010 FFF0 move.l [A6 - 0x10], [A0 + 0x10]
000003F6 2D68 0014 FFF4 move.l [A6 - 0xC], [A0 + 0x14]
000003FC 486E FFF0 pea.l [A6 - 0x10]
00000400 A870 syscall LocalToGlobal
00000402 486E FFF4 pea.l [A6 - 0xC]
00000406 A870 syscall LocalToGlobal
00000408 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000040C A873 syscall SetPort
0000040E 600C bra +0xE /* 0000041C */
label00000410:
00000410 2D6E FFD6 FFF0 move.l [A6 - 0x10], [A6 - 0x2A]
00000416 2D6E FFDA FFF4 move.l [A6 - 0xC], [A6 - 0x26]
label0000041C:
0000041C 302E FFF4 move.w D0, [A6 - 0xC]
00000420 906E FFF0 sub.w D0, [A6 - 0x10]
00000424 E240 asr D0.w, 1
00000426 D06E FFF0 add.w D0, [A6 - 0x10]
0000042A 3D40 FFE6 move.w [A6 - 0x1A], D0
0000042E 302E FFF6 move.w D0, [A6 - 0xA]
00000432 906E FFF2 sub.w D0, [A6 - 0xE]
00000436 E240 asr D0.w, 1
00000438 D06E FFF2 add.w D0, [A6 - 0xE]
0000043C 3D40 FFE8 move.w [A6 - 0x18], D0
00000440 486E FFD6 pea.l [A6 - 0x2A]
00000444 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00000448 486E FFDE pea.l [A6 - 0x22]
0000044C 4EBA 0108 jsr [PC + 0x108 /* 00000556 */]
00000450 4FEF 000C lea.l A7, [A7 + 0xC]
00000454 6060 bra +0x62 /* 000004B6 */
00000456 302E FFDA move.w D0, [A6 - 0x26]
0000045A 906E FFD6 sub.w D0, [A6 - 0x2A]
0000045E E240 asr D0.w, 1
00000460 3D40 FFE6 move.w [A6 - 0x1A], D0
00000464 302E FFE2 move.w D0, [A6 - 0x1E]
00000468 906E FFDE sub.w D0, [A6 - 0x22]
0000046C E240 asr D0.w, 1
0000046E 916E FFE6 sub.w [A6 - 0x1A], D0
00000472 302E FFE6 move.w D0, [A6 - 0x1A]
00000476 48C0 ext.l D0
00000478 81FC 0003 divs.w D0, 0x3
0000047C 322E FFE2 move.w D1, [A6 - 0x1E]
00000480 926E FFDE sub.w D1, [A6 - 0x22]
00000484 E241 asr D1.w, 1
00000486 D06E FFD6 add.w D0, [A6 - 0x2A]
0000048A D041 add.w D0, D1
0000048C 3D40 FFE6 move.w [A6 - 0x1A], D0
00000490 302E FFDC move.w D0, [A6 - 0x24]
00000494 906E FFD8 sub.w D0, [A6 - 0x28]
00000498 E240 asr D0.w, 1
0000049A D06E FFD8 add.w D0, [A6 - 0x28]
0000049E 3D40 FFE8 move.w [A6 - 0x18], D0
000004A2 486E FFD6 pea.l [A6 - 0x2A]
000004A6 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
000004AA 486E FFDE pea.l [A6 - 0x22]
000004AE 4EBA 00A6 jsr [PC + 0xA6 /* 00000556 */]
000004B2 4FEF 000C lea.l A7, [A7 + 0xC]
label000004B6:
000004B6 4A6E FFEE tst.w [A6 - 0x12]
000004BA 6708 beq +0xA /* 000004C4 */
000004BC 0C6E 0004 FFEE cmpi.w [A6 - 0x12], 0x4
000004C2 6610 bne +0x12 /* 000004D4 */
label000004C4:
000004C4 066E 0012 FFDE addi.w [A6 - 0x22], 0x12
000004CA 536E FFE4 subq.w [A6 - 0x1C], 1
000004CE 536E FFE2 subq.w [A6 - 0x1E], 1
000004D2 6036 bra +0x38 /* 0000050A */
label000004D4:
000004D4 0C6E 0010 FFEE cmpi.w [A6 - 0x12], 0x10
000004DA 6608 bne +0xA /* 000004E4 */
000004DC 066E 0012 FFDE addi.w [A6 - 0x22], 0x12
000004E2 6026 bra +0x28 /* 0000050A */
label000004E4:
000004E4 0C6E 0001 FFEE cmpi.w [A6 - 0x12], 0x1
000004EA 660E bne +0x10 /* 000004FA */
000004EC 486E FFDE pea.l [A6 - 0x22]
000004F0 2F3C 0004 0004 move.l -[A7], 0x40004
000004F6 A8A9 syscall InsetRect
000004F8 6010 bra +0x12 /* 0000050A */
label000004FA:
000004FA 0C6E 0003 FFEE cmpi.w [A6 - 0x12], 0x3
00000500 6608 bne +0xA /* 0000050A */
00000502 556E FFE4 subq.w [A6 - 0x1C], 2
00000506 556E FFE2 subq.w [A6 - 0x1E], 2
label0000050A:
0000050A 206E 000A movea.l A0, [A6 + 0xA]
0000050E 20AE FFDE move.l [A0], [A6 - 0x22]
00000512 216E FFE2 0004 move.l [A0 + 0x4], [A6 - 0x1E]
00000518 600E bra +0x10 /* 00000528 */
label0000051A:
0000051A 206E 000A movea.l A0, [A6 + 0xA]
0000051E 20AD F4B4 move.l [A0], [A5 - 0xB4C]
00000522 216D F4B8 0004 move.l [A0 + 0x4], [A5 - 0xB48]
label00000528:
00000528 4E5E unlink A6
0000052A 4E75 rts
0000052C 8E43 or.w D7, D3
0000052E 616C bsr +0x6E /* 0000059C */
00000530 6343 bls +0x45 /* 00000575 */
00000532 656E bcs +0x70 /* 000005A2 */
00000534 7465 moveq.l D2, 0x65
00000536 7244 moveq.l D1, 0x44
00000538 6C6F bge +0x71 /* 000005A9 */
0000053A 6700 0018 beq +0x1A /* 00000554 */
0000053E FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
00000540 FC64 FCA0 .extension 0xC64 <<F/1/6>>, 0xFCA0 // unimplemented
00000544 FCDC FD18 .extension 0xCDC <<F/2-3/6>> // unimplemented
00000548 FD54 .extension 0xD54 <<F/4-5/6>> // unimplemented
0000054A FD94 .invalid <<F/6/6>>
0000054C FDD4 .invalid <<F/7/6>>
0000054E FE18 FE58 .unknown 0xFE18 0xFE58 (W = 7)
00000552 FE98 FF18 .extension 0xE98 <<F/2-3/7>> // unimplemented
// begin alternate branch 00000554-00000556
label00000554:
00000554 FF18 .extension 0xF18 <<F/4-5/7>> // unimplemented
// end alternate branch 00000554-00000556
label00000554: // (misaligned)
fn00000556:
00000556 4E56 FFF8 link A6, -0x0008
0000055A 48E7 0308 movem.l -[A7], D6,D7,A4
0000055E 286E 0010 movea.l A4, [A6 + 0x10]
00000562 206E 0008 movea.l A0, [A6 + 0x8]
00000566 2D50 FFF8 move.l [A6 - 0x8], [A0]
0000056A 2D68 0004 FFFC move.l [A6 - 0x4], [A0 + 0x4]
00000570 302E FFF8 move.w D0, [A6 - 0x8]
00000574 916E FFFC sub.w [A6 - 0x4], D0
00000578 302E FFFC move.w D0, [A6 - 0x4]
0000057C E240 asr D0.w, 1
0000057E 322E 000C move.w D1, [A6 + 0xC]
00000582 9240 sub.w D1, D0
00000584 3D41 FFF8 move.w [A6 - 0x8], D1
00000588 302E FFF8 move.w D0, [A6 - 0x8]
0000058C D16E FFFC add.w [A6 - 0x4], D0
00000590 302E FFFA move.w D0, [A6 - 0x6]
00000594 916E FFFE sub.w [A6 - 0x2], D0
00000598 302E FFFE move.w D0, [A6 - 0x2]
fn0000059C:
0000059C E240 asr D0.w, 1
0000059E 322E 000E move.w D1, [A6 + 0xE]
label000005A2:
000005A2 9240 sub.w D1, D0
000005A4 3D41 FFFA move.w [A6 - 0x6], D1
000005A8 302E FFFA move.w D0, [A6 - 0x6]
000005AC D16E FFFE add.w [A6 - 0x2], D0
000005B0 3E2C 0004 move.w D7, [A4 + 0x4]
000005B4 BE6E FFFC cmp.w D7, [A6 - 0x4]
000005B8 6C10 bge +0x12 /* 000005CA */
000005BA 3C2E FFFC move.w D6, [A6 - 0x4]
000005BE 9C47 sub.w D6, D7
000005C0 5C46 addq.w D6, 6
000005C2 9D6E FFF8 sub.w [A6 - 0x8], D6
000005C6 9D6E FFFC sub.w [A6 - 0x4], D6
label000005CA:
000005CA 3E2C 0006 move.w D7, [A4 + 0x6]
000005CE BE6E FFFE cmp.w D7, [A6 - 0x2]
000005D2 6C10 bge +0x12 /* 000005E4 */
000005D4 3C2E FFFE move.w D6, [A6 - 0x2]
000005D8 9C47 sub.w D6, D7
000005DA 5C46 addq.w D6, 6
000005DC 9D6E FFFA sub.w [A6 - 0x6], D6
000005E0 9D6E FFFE sub.w [A6 - 0x2], D6
label000005E4:
000005E4 3E14 move.w D7, [A4]
000005E6 BE6E FFF8 cmp.w D7, [A6 - 0x8]
000005EA 6F10 ble +0x12 /* 000005FC */
000005EC 3C07 move.w D6, D7
000005EE 9C6E FFF8 sub.w D6, [A6 - 0x8]
000005F2 5C46 addq.w D6, 6
000005F4 DD6E FFF8 add.w [A6 - 0x8], D6
000005F8 DD6E FFFC add.w [A6 - 0x4], D6
label000005FC:
000005FC 3E2C 0002 move.w D7, [A4 + 0x2]
00000600 BE6E FFFA cmp.w D7, [A6 - 0x6]
00000604 6F10 ble +0x12 /* 00000616 */
00000606 3C07 move.w D6, D7
00000608 9C6E FFFA sub.w D6, [A6 - 0x6]
0000060C 5C46 addq.w D6, 6
0000060E DD6E FFFA add.w [A6 - 0x6], D6
00000612 DD6E FFFE add.w [A6 - 0x2], D6
label00000616:
00000616 206E 0008 movea.l A0, [A6 + 0x8]
0000061A 20AE FFF8 move.l [A0], [A6 - 0x8]
0000061E 216E FFFC 0004 move.l [A0 + 0x4], [A6 - 0x4]
00000624 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00000628 4E5E unlink A6
0000062A 4E75 rts
0000062C 8C43 or.w D6, D3
0000062E 616C bsr +0x6E /* 0000069C */
00000630 6357 bls +0x59 /* 00000689 */
00000632 696E bvs +0x70 /* 000006A2 */
00000634 6452 bcc +0x54 /* 00000688 */
00000636 6563 bcs +0x65 /* 0000069B */
00000638 7400 moveq.l D2, 0x00
0000063A 0000 206F ori.b D0, 0x6F /* 'o' */
export_136: // at 0000063C (misaligned)
0000063E 0004 43E8 ori.b D4, 0xE8
00000642 0001 7000 ori.b D1, 0x0
label00000646:
00000646 1210 move.b D1, [A0]
00000648 10C0 move.b [A0]+, D0
0000064A 1001 move.b D0, D1
0000064C 66F8 bne -0x6 /* 00000646 */
0000064E 91C9 sub.l A0, A1
00000650 2008 move.l D0, A0
00000652 1300 move.b -[A1], D0
00000654 2009 move.l D0, A1
00000656 4E75 rts
00000658 206F 0004 movea.l A0, [A7 + 0x4]
0000065C 7000 moveq.l D0, 0x00
0000065E 1010 move.b D0, [A0]
00000660 6004 bra +0x6 /* 00000666 */
label00000662:
00000662 10E8 0001 move.b [A0]+, [A0 + 0x1]
label00000666:
00000666 51C8 FFFA dbf D0, -0x8 /* 00000662 */
0000066A 4210 clr.b [A0]
0000066C 202F 0004 move.l D0, [A7 + 0x4]
00000670 4E75 rts
export_110:
00000672 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000676 6B22 bmi +0x24 /* 0000069A */
00000678 303C 0090 move.w D0, 0x90
0000067C A346 syscall GetOSTrapAddress, flags=3
0000067E 2248 movea.l A1, A0
00000680 303C 009F move.w D0, 0x9F
00000684 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000686 B3C8 cmpa.l A1, A0
label00000688:
00000688 6710 beq +0x12 /* 0000069A */
0000068A 225F movea.l A1, [A7]+
0000068C 205F movea.l A0, [A7]+
0000068E 301F move.w D0, [A7]+
00000690 2F09 move.l -[A7], A1
00000692 A090 syscall SysEnvirons
00000694 3F40 0004 move.w [A7 + 0x4], D0
00000698 4E75 rts
label0000069A:
0000069A 206F 0004 movea.l A0, [A7 + 0x4]
// begin alternate branch 0000069C-000006A4
fn0000069C:
0000069C 0004 303C ori.b D4, 0x3C /* '<' */
000006A0 0001 2248 ori.b D1, 0x48 /* 'H' */
// end alternate branch 0000069C-000006A4
fn0000069C: // (misaligned)
0000069E 303C 0001 move.w D0, 0x1
label000006A2:
000006A2 2248 movea.l A1, A0
000006A4 6006 bra +0x8 /* 000006AC */
000006A6 0313 btst [A3], D1
000006A8 0B02 btst D2, D5
000006AA 0100 btst D0, D0
label000006AC:
000006AC 303C 0010 move.w D0, 0x10
000006B0 E240 asr D0.w, 1
000006B2 5340 subq.w D0, 1
label000006B4:
000006B4 4258 clr.w [A0]+
000006B6 51C8 FFFC dbf D0, -0x6 /* 000006B4 */
000006BA 32BC 0002 move.w [A1], 0x2
000006BE 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
000006C2 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
000006C8 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
000006CE 6742 beq +0x44 /* 00000712 */
000006D0 4A28 0008 tst.b [A0 + 0x8]
000006D4 6E20 bgt +0x22 /* 000006F6 */
000006D6 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
000006DC 4A78 028E tst.w [0x0000028E /* ROM85 */]
000006E0 6B30 bmi +0x32 /* 00000712 */
000006E2 337C 0001 0002 move.w [A1 + 0x2], 0x1
000006E8 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
000006EC 6A24 bpl +0x26 /* 00000712 */
000006EE 337C 0002 0002 move.w [A1 + 0x2], 0x2
000006F4 601C bra +0x1E /* 00000712 */
label000006F6:
000006F6 4269 0002 clr.w [A1 + 0x2]
000006FA 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
00000700 6E10 bgt +0x12 /* 00000712 */
00000702 6708 beq +0xA /* 0000070C */
00000704 337C 0004 0002 move.w [A1 + 0x2], 0x4
0000070A 6006 bra +0x8 /* 00000712 */
label0000070C:
0000070C 337C 0003 0002 move.w [A1 + 0x2], 0x3
label00000712:
00000712 4269 0004 clr.w [A1 + 0x4]
00000716 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
0000071C 6E0A bgt +0xC /* 00000728 */
0000071E 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00000722 5240 addq.w D0, 1
00000724 1340 0007 move.b [A1 + 0x7], D0
label00000728:
00000728 4A78 028E tst.w [0x0000028E /* ROM85 */]
0000072C 6B0E bmi +0x10 /* 0000073C */
0000072E 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00000734 6706 beq +0x8 /* 0000073C */
00000736 137C 0001 0008 move.b [A1 + 0x8], 0x1
label0000073C:
0000073C 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00000742 6206 bhi +0x8 /* 0000074A */
00000744 137C 0001 0009 move.b [A1 + 0x9], 0x1
label0000074A:
0000074A 1038 021E move.b D0, [0x0000021E /* KbdType */]
0000074E 41FA FF5B lea.l A0, [PC - 0xA5 /* 000006AB, value 0x303C00 '0<\0', cstring "" */]
00000752 323C 0004 move.w D1, 0x4
label00000756:
00000756 B020 cmp.b D0, -[A0]
00000758 57C9 FFFC dbeq D1, -0x6 /* 00000756 */
0000075C 5241 addq.w D1, 1
0000075E 3341 000A move.w [A1 + 0xA], D1
00000762 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00000766 6B18 bmi +0x1A /* 00000780 */
00000768 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
0000076C 0201 000F andi.b D1, 0xF
00000770 0C01 0001 cmpi.b D1, 0x1
00000774 660A bne +0xC /* 00000780 */
00000776 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
0000077A 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label00000780:
00000780 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
00000786 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
0000078A 6D44 blt +0x46 /* 000007D0 */
0000078C 4269 000E clr.w [A1 + 0xE]
00000790 323C 003C move.w D1, 0x3C /* '<' */
label00000794:
00000794 4267 clr.w -[A7]
00000796 51C9 FFFC dbf D1, -0x6 /* 00000794 */
0000079A 204F movea.l A0, A7
0000079C 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
000007A2 7008 moveq.l D0, 0x08
000007A4 A260 syscall FSDispatch/HFSDispatch, flags=2
000007A6 6624 bne +0x26 /* 000007CC */
000007A8 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
000007AE A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
000007B0 661A bne +0x1C /* 000007CC */
000007B2 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
000007B8 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
000007C0 7001 moveq.l D0, 0x01
000007C2 A260 syscall FSDispatch/HFSDispatch, flags=2
000007C4 6606 bne +0x8 /* 000007CC */
000007C6 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label000007CC:
000007CC 4FEF 007A lea.l A7, [A7 + 0x7A]
label000007D0:
000007D0 2049 movea.l A0, A1
000007D2 225F movea.l A1, [A7]+
000007D4 5C4F addq.w A7, 6
000007D6 3EBC EA84 move.w [A7], 0xEA84
000007DA 4ED1 jmp [A1]
export_111:
fn000007DC:
000007DC 4E56 0000 link A6, 0
000007E0 203C 0000 A89F move.l D0, 0xA89F
000007E6 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000007E8 2F08 move.l -[A7], A0
000007EA 203C 0000 A0AD move.l D0, 0xA0AD
000007F0 A346 syscall GetOSTrapAddress, flags=3
000007F2 B1DF cmpa.l A0, [A7]+
000007F4 670E beq +0x10 /* 00000804 */
000007F6 202E 000C move.l D0, [A6 + 0xC]
000007FA A1AD syscall Gestalt, flags=1
000007FC 226E 0008 movea.l A1, [A6 + 0x8]
00000800 2288 move.l [A1], A0
00000802 6026 bra +0x28 /* 0000082A */
label00000804:
00000804 41FA 0036 lea.l A0, [PC + 0x36 /* 0000083C, value 0x76657273 'vers', cstring "vers" */]
00000808 303C EA51 move.w D0, 0xEA51
0000080C 222E 000C move.l D1, [A6 + 0xC]
label00000810:
00000810 B298 cmp.l D1, [A0]+
00000812 6706 beq +0x8 /* 0000081A */
00000814 4A98 tst.l [A0]+
00000816 6712 beq +0x14 /* 0000082A */
00000818 60F6 bra -0x8 /* 00000810 */
label0000081A:
0000081A 43FA 0020 lea.l A1, [PC + 0x20 /* 0000083C, value 0x76657273 'vers', cstring "vers" */]
0000081E D3D0 add.l A1, [A0]
00000820 4ED1 jmp [A1]
label00000822:
00000822 226E 0008 movea.l A1, [A6 + 0x8]
00000826 2280 move.l [A1], D0
00000828 4240 clr.w D0
label0000082A:
0000082A 3D40 0010 move.w [A6 + 0x10], D0
0000082E 4E5E unlink A6
00000830 205F movea.l A0, [A7]+
00000832 508F addq.l A7, 8
00000834 4ED0 jmp [A0]
label00000836:
00000836 303C EA52 move.w D0, 0xEA52
0000083A 60EE bra -0x10 /* 0000082A */
0000083C 7665 moveq.l D3, 0x65
0000083E 7273 moveq.l D1, 0x73
00000840 0000 0060 ori.b D0, 0x60 /* '`' */
00000844 6D61 blt +0x63 /* 000008A7 */
00000846 6368 bls +0x6A /* 000008B0 */
00000848 0000 0064 ori.b D0, 0x64 /* 'd' */
0000084C 7379 moveq.l D1, 0x79
0000084E 7376 moveq.l D1, 0x76
00000850 0000 0088 ori.b D0, 0x88
00000854 7072 moveq.l D0, 0x72
00000856 6F63 ble +0x65 /* 000008BB */
00000858 0000 0092 ori.b D0, 0x92
0000085C 6670 bne +0x72 /* 000008CE */
0000085E 7520 moveq.l D2, 0x20
00000860 0000 009E ori.b D0, 0x9E
00000864 7164 moveq.l D0, 0x64
00000866 2020 move.l D0, -[A0]
00000868 0000 00E8 ori.b D0, 0xE8
0000086C 6B62 bmi +0x64 /* 000008D0 */
0000086E 6420 bcc +0x22 /* 00000890 */
00000870 0000 011A ori.b D0, 0x1A
00000874 6174 bsr +0x76 /* 000008EA */
00000876 6C6B bge +0x6D /* 000008E3 */
00000878 0000 0142 ori.b D0, 0x42 /* 'B' */
0000087C 6D6D blt +0x6F /* 000008EB */
0000087E 7520 moveq.l D2, 0x20
00000880 0000 0164 ori.b D0, 0x64 /* 'd' */
00000884 7261 moveq.l D1, 0x61
00000886 6D20 blt +0x22 /* 000008A8 */
00000888 0000 0188 ori.b D0, 0x88
0000088C 6C72 bge +0x74 /* 00000900 */
0000088E 616D bsr +0x6F /* 000008FD */
label00000890:
00000890 0000 0188 ori.b D0, 0x88
00000894 0000 0000 ori.b D0, 0x0
00000898 0000 0000 ori.b D0, 0x0
0000089C 7001 moveq.l D0, 0x01
0000089E 6082 bra -0x7C /* 00000822 */
000008A0 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
000008A4 7004 moveq.l D0, 0x04
000008A6 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 000008A8-000008B0
label000008A8:
000008A8 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
// end alternate branch 000008A8-000008B0
label000008A8: // (misaligned)
000008AC 6712 beq +0x14 /* 000008C0 */
000008AE 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
// begin alternate branch 000008B0-000008B6
label000008B0:
000008B0 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 000008B0-000008B6
label000008B0: // (misaligned)
000008B4 6604 bne +0x6 /* 000008BA */
000008B6 5240 addq.w D0, 1
000008B8 6006 bra +0x8 /* 000008C0 */
label000008BA:
000008BA 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
000008BE 5C80 addq.l D0, 6
label000008C0:
000008C0 6000 FF60 bra -0x9E /* 00000822 */
000008C4 7000 moveq.l D0, 0x00
000008C6 3038 015A move.w D0, [0x0000015A /* SysVersion */]
000008CA 6000 FF56 bra -0xA8 /* 00000822 */
label000008CE:
000008CE 7000 moveq.l D0, 0x00
label000008D0:
000008D0 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
000008D4 5240 addq.w D0, 1
000008D6 6000 FF4A bra -0xB4 /* 00000822 */
000008DA 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
000008E0 6738 beq +0x3A /* 0000091A */
000008E2 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
000008E8 6734 beq +0x36 /* 0000091E */
fn000008EA:
000008EA 204F movea.l A0, A7
000008EC F280 0000 fnop
000008F0 F327 .extension 0x327 <<F/4-5/1>> // unimplemented
000008F2 3017 move.w D0, [A7]
000008F4 2E48 movea.l A7, A0
000008F6 0C40 1F18 cmpi.w D0, 0x1F18
000008FA 6716 beq +0x18 /* 00000912 */
000008FC 0C40 3F18 cmpi.w D0, 0x3F18
label00000900:
00000900 6710 beq +0x12 /* 00000912 */
00000902 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
00000906 670E beq +0x10 /* 00000916 */
00000908 0C40 1F38 cmpi.w D0, 0x1F38
0000090C 6708 beq +0xA /* 00000916 */
0000090E 7000 moveq.l D0, 0x00
00000910 600E bra +0x10 /* 00000920 */
label00000912:
00000912 7001 moveq.l D0, 0x01
00000914 600A bra +0xC /* 00000920 */
label00000916:
00000916 7002 moveq.l D0, 0x02
00000918 6006 bra +0x8 /* 00000920 */
label0000091A:
0000091A 7003 moveq.l D0, 0x03
0000091C 6002 bra +0x4 /* 00000920 */
label0000091E:
0000091E 7000 moveq.l D0, 0x00
label00000920:
00000920 6000 FF00 bra -0xFE /* 00000822 */
00000924 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
0000092A 6E1C bgt +0x1E /* 00000948 */
0000092C 303C A89F move.w D0, 0xA89F
00000930 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000932 2408 move.l D2, A0
00000934 203C 0000 AB03 move.l D0, 0xAB03
0000093A A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000093C 203C 0000 0100 move.l D0, 0x100
00000942 B488 cmp.l D2, A0
00000944 6606 bne +0x8 /* 0000094C */
00000946 600A bra +0xC /* 00000952 */
label00000948:
00000948 7000 moveq.l D0, 0x00
0000094A 6006 bra +0x8 /* 00000952 */
label0000094C:
0000094C 203C 0000 0200 move.l D0, 0x200
label00000952:
00000952 6000 FECE bra -0x130 /* 00000822 */
00000956 1038 021E move.b D0, [0x0000021E /* KbdType */]
0000095A 41FA 0016 lea.l A0, [PC + 0x16 /* 00000972, value 0x3130B02 */]
0000095E 2248 movea.l A1, A0
label00000960:
00000960 1218 move.b D1, [A0]+
00000962 6700 FED2 beq -0x12C /* 00000836 */
00000966 B200 cmp.b D1, D0
00000968 66F6 bne -0x8 /* 00000960 */
0000096A 91C9 sub.l A0, A1
0000096C 2008 move.l D0, A0
0000096E 6000 FEB2 bra -0x14C /* 00000822 */
00000972 0313 btst [A3], D1
00000974 0B02 btst D2, D5
00000976 0106 btst D6, D0
00000978 0704 btst D4, D3
0000097A 0508 btst A0, D2
0000097C 0900 btst D0, D4
0000097E 7000 moveq.l D0, 0x00
00000980 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00000984 6B16 bmi +0x18 /* 0000099C */
00000986 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
0000098A 0201 000F andi.b D1, 0xF
0000098E 0C01 0001 cmpi.b D1, 0x1
00000992 6608 bne +0xA /* 0000099C */
00000994 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00000998 1028 0007 move.b D0, [A0 + 0x7]
label0000099C:
0000099C 6000 FE84 bra -0x17A /* 00000822 */
000009A0 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
000009A6 6D16 blt +0x18 /* 000009BE */
000009A8 7000 moveq.l D0, 0x00
000009AA 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
000009AE 0C00 0001 cmpi.b D0, 0x1
000009B2 670C beq +0xE /* 000009C0 */
000009B4 0C00 0003 cmpi.b D0, 0x3
000009B8 6D04 blt +0x6 /* 000009BE */
000009BA 5340 subq.w D0, 1
000009BC 6002 bra +0x4 /* 000009C0 */
label000009BE:
000009BE 7000 moveq.l D0, 0x00
label000009C0:
000009C0 6000 FE60 bra -0x19E /* 00000822 */
000009C4 303C A89F move.w D0, 0xA89F
000009C8 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000009CA 2408 move.l D2, A0
000009CC 203C 0000 A88F move.l D0, 0xA88F
000009D2 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000009D4 2038 0108 move.l D0, [0x00000108 /* MemTop */]
000009D8 B488 cmp.l D2, A0
000009DA 670A beq +0xC /* 000009E6 */
000009DC 598F subq.l A7, 4
000009DE 3F3C 0016 move.w -[A7], 0x16
000009E2 A88F syscall OSDispatch
000009E4 201F move.l D0, [A7]+
label000009E6:
000009E6 6000 FE3A bra -0x1C4 /* 00000822 */
export_112:
000009EA 225F movea.l A1, [A7]+
000009EC 205F movea.l A0, [A7]+
000009EE A021 syscall GetPtrSize
000009F0 2E80 move.l [A7], D0
000009F2 6A02 bpl +0x4 /* 000009F6 */
000009F4 4297 clr.l [A7]
label000009F6:
000009F6 4ED1 jmp [A1]
export_113:
000009F8 225F movea.l A1, [A7]+
000009FA 205F movea.l A0, [A7]+
000009FC A025 syscall GetHandleSize
000009FE 2E80 move.l [A7], D0
00000A00 6A02 bpl +0x4 /* 00000A04 */
00000A02 4297 clr.l [A7]
label00000A04:
00000A04 4ED1 jmp [A1]
export_114:
fn00000A06:
00000A06 225F movea.l A1, [A7]+
00000A08 121F move.b D1, [A7]+
00000A0A 301F move.w D0, [A7]+
00000A0C 4A01 tst.b D1
00000A0E 6704 beq +0x6 /* 00000A14 */
00000A10 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000A12 6002 bra +0x4 /* 00000A16 */
label00000A14:
00000A14 A346 syscall GetOSTrapAddress, flags=3
label00000A16:
00000A16 2E88 move.l [A7], A0
00000A18 4ED1 jmp [A1]
export_115:
00000A1A 206F 000C movea.l A0, [A7 + 0xC]
00000A1E 226F 0008 movea.l A1, [A7 + 0x8]
00000A22 7000 moveq.l D0, 0x00
00000A24 1018 move.b D0, [A0]+
00000A26 4840 swap.w D0
00000A28 1019 move.b D0, [A1]+
00000A2A 4A2F 0004 tst.b [A7 + 0x4]
00000A2E 670E beq +0x10 /* 00000A3E */
00000A30 4A2F 0006 tst.b [A7 + 0x6]
00000A34 6704 beq +0x6 /* 00000A3A */
00000A36 A43C syscall CmpString, flags=4
00000A38 6010 bra +0x12 /* 00000A4A */
label00000A3A:
00000A3A A03C syscall CmpString
00000A3C 600C bra +0xE /* 00000A4A */
label00000A3E:
00000A3E 4A2F 0006 tst.b [A7 + 0x6]
00000A42 6704 beq +0x6 /* 00000A48 */
00000A44 A63C syscall CmpString, flags=6
00000A46 6002 bra +0x4 /* 00000A4A */
label00000A48:
00000A48 A23C syscall CmpString, flags=2
label00000A4A:
00000A4A 0A00 0001 xori.b D0, 0x1
00000A4E 1F40 0010 move.b [A7 + 0x10], D0
00000A52 205F movea.l A0, [A7]+
00000A54 4FEF 000C lea.l A7, [A7 + 0xC]
00000A58 4ED0 jmp [A0]
export_116:
00000A5A 4E56 FFCE link A6, -0x0032
00000A5E 204F movea.l A0, A7
00000A60 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00000A66 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00000A6C 4228 001A clr.b [A0 + 0x1A]
00000A70 4228 001B clr.b [A0 + 0x1B]
00000A74 42A8 001C clr.l [A0 + 0x1C]
00000A78 701A moveq.l D0, 0x1A
00000A7A A060 syscall FSDispatch/HFSDispatch
00000A7C 0C40 FFCE cmpi.w D0, 0xFFCE
00000A80 6602 bne +0x4 /* 00000A84 */
00000A82 A000 syscall Open/PBHOpen/HOpen
label00000A84:
00000A84 226E 0008 movea.l A1, [A6 + 0x8]
00000A88 32A8 0018 move.w [A1], [A0 + 0x18]
00000A8C 3D40 0012 move.w [A6 + 0x12], D0
00000A90 4E5E unlink A6
00000A92 205F movea.l A0, [A7]+
00000A94 4FEF 000A lea.l A7, [A7 + 0xA]
00000A98 4ED0 jmp [A0]
export_117:
fn00000A9A:
00000A9A 4E56 FFCE link A6, -0x0032
00000A9E 204F movea.l A0, A7
00000AA0 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00000AA6 A001 syscall Close
00000AA8 3D40 000A move.w [A6 + 0xA], D0
00000AAC 4E5E unlink A6
00000AAE 205F movea.l A0, [A7]+
00000AB0 548F addq.l A7, 2
00000AB2 4ED0 jmp [A0]
export_118:
00000AB4 51C1 sf D1
00000AB6 6002 bra +0x4 /* 00000ABA */
export_119:
00000AB8 50C1 st D1
label00000ABA:
00000ABA 4E56 FFCE link A6, -0x0032
00000ABE 204F movea.l A0, A7
00000AC0 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00000AC6 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00000ACC 226E 000C movea.l A1, [A6 + 0xC]
00000AD0 2151 0024 move.l [A0 + 0x24], [A1]
00000AD4 4268 002C clr.w [A0 + 0x2C]
00000AD8 42A8 002E clr.l [A0 + 0x2E]
00000ADC 4A01 tst.b D1
00000ADE 6604 bne +0x6 /* 00000AE4 */
00000AE0 A002 syscall Read
00000AE2 6002 bra +0x4 /* 00000AE6 */
label00000AE4:
00000AE4 A003 syscall Write
label00000AE6:
00000AE6 3D40 0012 move.w [A6 + 0x12], D0
00000AEA 226E 000C movea.l A1, [A6 + 0xC]
00000AEE 22A8 0028 move.l [A1], [A0 + 0x28]
00000AF2 4E5E unlink A6
00000AF4 225F movea.l A1, [A7]+
00000AF6 4FEF 000A lea.l A7, [A7 + 0xA]
00000AFA 4ED1 jmp [A1]
export_120:
00000AFC 4E56 FFC0 link A6, -0x0040
00000B00 204F movea.l A0, A7
00000B02 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
00000B08 A014 syscall GetVol/PBHGetVol/HGetVol
00000B0A 3D40 0010 move.w [A6 + 0x10], D0
00000B0E 226E 0008 movea.l A1, [A6 + 0x8]
00000B12 32A8 0016 move.w [A1], [A0 + 0x16]
00000B16 4E5E unlink A6
00000B18 225F movea.l A1, [A7]+
00000B1A 508F addq.l A7, 8
00000B1C 4ED1 jmp [A1]
fn00000B1E:
00000B1E 4E56 FFC0 link A6, -0x0040
00000B22 204F movea.l A0, A7
00000B24 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000B2A 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00000B30 A015 syscall SetVol/PBHSetVol/HSetVol
00000B32 3D40 000E move.w [A6 + 0xE], D0
00000B36 4E5E unlink A6
00000B38 225F movea.l A1, [A7]+
00000B3A 5C8F addq.l A7, 6
00000B3C 4ED1 jmp [A1]
export_121:
00000B3E 4E56 FFC0 link A6, -0x0040
00000B42 204F movea.l A0, A7
00000B44 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00000B4A 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000B50 A00E syscall UnmountVol/HUnmountVol
00000B52 3D40 000E move.w [A6 + 0xE], D0
00000B56 4E5E unlink A6
00000B58 225F movea.l A1, [A7]+
00000B5A 5C8F addq.l A7, 6
00000B5C 4ED1 jmp [A1]
export_122:
00000B5E 4E56 FFC0 link A6, -0x0040
00000B62 204F movea.l A0, A7
00000B64 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00000B6A 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000B70 A017 syscall Eject
00000B72 3D40 000E move.w [A6 + 0xE], D0
00000B76 4E5E unlink A6
00000B78 225F movea.l A1, [A7]+
00000B7A 5C8F addq.l A7, 6
00000B7C 4ED1 jmp [A1]
export_123:
00000B7E 4E56 FFC0 link A6, -0x0040
00000B82 204F movea.l A0, A7
00000B84 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00000B8A 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000B90 A013 syscall FlushVol
00000B92 3D40 000E move.w [A6 + 0xE], D0
00000B96 4E5E unlink A6
00000B98 225F movea.l A1, [A7]+
00000B9A 5C8F addq.l A7, 6
00000B9C 4ED1 jmp [A1]
export_124:
00000B9E 4E56 FFCE link A6, -0x0032
00000BA2 204F movea.l A0, A7
00000BA4 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00000BAA A011 syscall GetEOF
00000BAC 3D40 000E move.w [A6 + 0xE], D0
00000BB0 226E 0008 movea.l A1, [A6 + 0x8]
00000BB4 22A8 001C move.l [A1], [A0 + 0x1C]
00000BB8 4E5E unlink A6
00000BBA 225F movea.l A1, [A7]+
00000BBC 5C8F addq.l A7, 6
00000BBE 4ED1 jmp [A1]
export_125:
00000BC0 4E56 FFCE link A6, -0x0032
00000BC4 204F movea.l A0, A7
00000BC6 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00000BCC 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
00000BD2 A012 syscall SetEOF
00000BD4 3D40 000E move.w [A6 + 0xE], D0
00000BD8 4E5E unlink A6
00000BDA 225F movea.l A1, [A7]+
00000BDC 5C8F addq.l A7, 6
00000BDE 4ED1 jmp [A1]
export_126:
00000BE0 4E56 FFCE link A6, -0x0032
00000BE4 204F movea.l A0, A7
00000BE6 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00000BEC A018 syscall GetFPos
00000BEE 3D40 000E move.w [A6 + 0xE], D0
00000BF2 226E 0008 movea.l A1, [A6 + 0x8]
00000BF6 22A8 002E move.l [A1], [A0 + 0x2E]
00000BFA 4E5E unlink A6
00000BFC 225F movea.l A1, [A7]+
00000BFE 5C8F addq.l A7, 6
00000C00 4ED1 jmp [A1]
export_127:
00000C02 4E56 FFCE link A6, -0x0032
00000C06 204F movea.l A0, A7
00000C08 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00000C0E 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00000C14 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00000C1A A044 syscall SetFPos
00000C1C 3D40 0010 move.w [A6 + 0x10], D0
00000C20 4E5E unlink A6
00000C22 225F movea.l A1, [A7]+
00000C24 508F addq.l A7, 8
00000C26 4ED1 jmp [A1]
fn00000C28:
00000C28 225F movea.l A1, [A7]+
00000C2A 101F move.b D0, [A7]+
00000C2C 205F movea.l A0, [A7]+
00000C2E 6604 bne +0x6 /* 00000C34 */
00000C30 A215 syscall SetVol/PBHSetVol/HSetVol, flags=2
00000C32 6002 bra +0x4 /* 00000C36 */
label00000C34:
00000C34 A615 syscall SetVol/PBHSetVol/HSetVol, flags=6
label00000C36:
00000C36 3E80 move.w [A7], D0
00000C38 4ED1 jmp [A1]
fn00000C3A:
00000C3A 225F movea.l A1, [A7]+
00000C3C 101F move.b D0, [A7]+
00000C3E 205F movea.l A0, [A7]+
00000C40 6604 bne +0x6 /* 00000C46 */
00000C42 A214 syscall GetVol/PBHGetVol/HGetVol, flags=2
00000C44 6002 bra +0x4 /* 00000C48 */
label00000C46:
00000C46 A614 syscall GetVol/PBHGetVol/HGetVol, flags=6
label00000C48:
00000C48 3E80 move.w [A7], D0
00000C4A 4ED1 jmp [A1]
fn00000C4C:
00000C4C 225F movea.l A1, [A7]+
00000C4E 101F move.b D0, [A7]+
00000C50 205F movea.l A0, [A7]+
00000C52 6606 bne +0x8 /* 00000C5A */
00000C54 7007 moveq.l D0, 0x07
00000C56 A260 syscall FSDispatch/HFSDispatch, flags=2
00000C58 6004 bra +0x6 /* 00000C5E */
label00000C5A:
00000C5A 7007 moveq.l D0, 0x07
00000C5C A660 syscall FSDispatch/HFSDispatch, flags=6
label00000C5E:
00000C5E 3E80 move.w [A7], D0
00000C60 4ED1 jmp [A1]
fn00000C62:
00000C62 225F movea.l A1, [A7]+
00000C64 101F move.b D0, [A7]+
00000C66 205F movea.l A0, [A7]+
00000C68 6604 bne +0x6 /* 00000C6E */
00000C6A A200 syscall OpenSlot, flags=2
00000C6C 6002 bra +0x4 /* 00000C70 */
label00000C6E:
00000C6E A600 syscall Open/PBHOpen/HOpen, flags=6
label00000C70:
00000C70 3E80 move.w [A7], D0
00000C72 4ED1 jmp [A1]
fn00000C74:
00000C74 225F movea.l A1, [A7]+
00000C76 101F move.b D0, [A7]+
00000C78 205F movea.l A0, [A7]+
00000C7A 6604 bne +0x6 /* 00000C80 */
00000C7C A20A syscall OpenRF/PBHOpenRF/HOpenRF, flags=2
00000C7E 6002 bra +0x4 /* 00000C82 */
label00000C80:
00000C80 A60A syscall OpenRF/PBHOpenRF/HOpenRF, flags=6
label00000C82:
00000C82 3E80 move.w [A7], D0
00000C84 4ED1 jmp [A1]
fn00000C86:
00000C86 225F movea.l A1, [A7]+
00000C88 101F move.b D0, [A7]+
00000C8A 205F movea.l A0, [A7]+
00000C8C 6604 bne +0x6 /* 00000C92 */
00000C8E A208 syscall Create/PBHCreate/HCreate, flags=2
00000C90 6002 bra +0x4 /* 00000C94 */
label00000C92:
00000C92 A608 syscall Create/PBHCreate/HCreate, flags=6
label00000C94:
00000C94 3E80 move.w [A7], D0
00000C96 4ED1 jmp [A1]
fn00000C98:
00000C98 225F movea.l A1, [A7]+
00000C9A 101F move.b D0, [A7]+
00000C9C 205F movea.l A0, [A7]+
00000C9E 6604 bne +0x6 /* 00000CA4 */
00000CA0 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
00000CA2 6002 bra +0x4 /* 00000CA6 */
label00000CA4:
00000CA4 A60C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
label00000CA6:
00000CA6 3E80 move.w [A7], D0
00000CA8 4ED1 jmp [A1]
fn00000CAA:
00000CAA 225F movea.l A1, [A7]+
00000CAC 101F move.b D0, [A7]+
00000CAE 205F movea.l A0, [A7]+
00000CB0 6604 bne +0x6 /* 00000CB6 */
00000CB2 A20D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
00000CB4 6002 bra +0x4 /* 00000CB8 */
label00000CB6:
00000CB6 A60D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=6
label00000CB8:
00000CB8 3E80 move.w [A7], D0
00000CBA 4ED1 jmp [A1]
export_128:
00000CBC 7402 moveq.l D2, 0x02
label00000CBE:
00000CBE 205F movea.l A0, [A7]+
00000CC0 3F02 move.w -[A7], D2
00000CC2 2F08 move.l -[A7], A0
00000CC4 ADE9 syscall Pack2, auto_pop
export_129:
00000CC6 7400 moveq.l D2, 0x00
00000CC8 4EFA FFF4 jmp [PC - 0xC /* 00000CBE */]
export_130:
00000CCC 206F 0008 movea.l A0, [A7 + 0x8]
00000CD0 3F3C 0001 move.w -[A7], 0x1
00000CD4 A9EE syscall Pack7/DecStr68K
00000CD6 206F 0004 movea.l A0, [A7 + 0x4]
00000CDA 2080 move.l [A0], D0
00000CDC 4EFA 000E jmp [PC + 0xE /* 00000CEC */]
export_131:
00000CE0 206F 0004 movea.l A0, [A7 + 0x4]
00000CE4 202F 0008 move.l D0, [A7 + 0x8]
00000CE8 4267 clr.w -[A7]
00000CEA A9EE syscall Pack7/DecStr68K
label00000CEC:
00000CEC 205F movea.l A0, [A7]+
00000CEE 504F addq.w A7, 8
00000CF0 4ED0 jmp [A0]
export_132:
00000CF2 225F movea.l A1, [A7]+
00000CF4 201F move.l D0, [A7]+
00000CF6 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6
00000CFC 6606 bne +0x8 /* 00000D04 */
00000CFE A055 syscall StripAddress
00000D00 2E80 move.l [A7], D0
00000D02 4ED1 jmp [A1]
label00000D04:
00000D04 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00000D08 2E80 move.l [A7], D0
00000D0A 4ED1 jmp [A1]
export_133:
00000D0C 206F 0004 movea.l A0, [A7 + 0x4]
00000D10 2050 movea.l A0, [A0]
00000D12 A9E1 syscall HandToHand
00000D14 226F 0004 movea.l A1, [A7 + 0x4]
00000D18 2288 move.l [A1], A0
00000D1A 3F40 0008 move.w [A7 + 0x8], D0
00000D1E 2E9F move.l [A7], [A7]+
00000D20 4E75 rts
export_134:
00000D22 206F 000C movea.l A0, [A7 + 0xC]
00000D26 202F 0004 move.l D0, [A7 + 0x4]
00000D2A A9E3 syscall PtrToHand
00000D2C 3F40 0010 move.w [A7 + 0x10], D0
00000D30 226F 0008 movea.l A1, [A7 + 0x8]
00000D34 2288 move.l [A1], A0
00000D36 205F movea.l A0, [A7]+
00000D38 4FEF 000C lea.l A7, [A7 + 0xC]
00000D3C 4ED0 jmp [A0]
export_135:
00000D3E 4E56 0000 link A6, 0
00000D42 594F subq.w A7, 4
00000D44 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00000D4A 3F2E 000A move.w -[A7], [A6 + 0xA]
00000D4E A9A0 syscall GetResource
00000D50 226E 000C movea.l A1, [A6 + 0xC]
00000D54 4211 clr.b [A1]
00000D56 201F move.l D0, [A7]+
00000D58 6722 beq +0x24 /* 00000D7C */
00000D5A 2040 movea.l A0, D0
00000D5C 2050 movea.l A0, [A0]
00000D5E 3018 move.w D0, [A0]+
00000D60 322E 0008 move.w D1, [A6 + 0x8]
00000D64 6716 beq +0x18 /* 00000D7C */
00000D66 B240 cmp.w D1, D0
00000D68 6212 bhi +0x14 /* 00000D7C */
00000D6A 7000 moveq.l D0, 0x00
label00000D6C:
00000D6C 5341 subq.w D1, 1
00000D6E 6706 beq +0x8 /* 00000D76 */
00000D70 1018 move.b D0, [A0]+
00000D72 D1C0 add.l A0, D0
00000D74 60F6 bra -0x8 /* 00000D6C */
label00000D76:
00000D76 1010 move.b D0, [A0]
00000D78 5240 addq.w D0, 1
00000D7A A02E syscall BlockMove/BlockMoveData
label00000D7C:
00000D7C 4E5E unlink A6
00000D7E 205F movea.l A0, [A7]+
00000D80 508F addq.l A7, 8
00000D82 4ED0 jmp [A0]
export_137:
00000D84 4E56 FF7C link A6, -0x0084
00000D88 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000D8C 266E 0008 movea.l A3, [A6 + 0x8]
00000D90 286E 000C movea.l A4, [A6 + 0xC]
00000D94 3A2E 0016 move.w D5, [A6 + 0x16]
00000D98 2C2E 0012 move.l D6, [A6 + 0x12]
00000D9C 4204 clr.b D4
00000D9E 558F subq.l A7, 2
00000DA0 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
00000DA6 486E FF7C pea.l [A6 - 0x84]
00000DAA 4EBA FA30 jsr [PC - 0x5D0 /* 000007DC */]
00000DAE 3E1F move.w D7, [A7]+
00000DB0 660C bne +0xE /* 00000DBE */
00000DB2 202E FF7C move.l D0, [A6 - 0x84]
00000DB6 0800 0000 btst.b D0, 0x0
00000DBA 6702 beq +0x4 /* 00000DBE */
00000DBC 7801 moveq.l D4, 0x01
label00000DBE:
00000DBE 4A04 tst.b D4
00000DC0 671A beq +0x1C /* 00000DDC */
00000DC2 558F subq.l A7, 2
00000DC4 3F05 move.w -[A7], D5
00000DC6 2F06 move.l -[A7], D6
00000DC8 1F2E 0010 move.b -[A7], [A6 + 0x10]
00000DCC 2F0C move.l -[A7], A4
00000DCE 2F0B move.l -[A7], A3
00000DD0 7000 moveq.l D0, 0x00
00000DD2 A823 syscall AliasDispatch
00000DD4 3D5F 0018 move.w [A6 + 0x18], [A7]+
00000DD8 6000 00EA bra +0xEC /* 00000EC4 */
label00000DDC:
00000DDC 0C86 6D61 6373 cmpi.l D6, 0x6D616373 /* 'macs' */
00000DE2 6742 beq +0x44 /* 00000E26 */
00000DE4 0C86 7465 6D70 cmpi.l D6, 0x74656D70 /* 'temp' */
00000DEA 673A beq +0x3C /* 00000E26 */
00000DEC 0C86 7072 6566 cmpi.l D6, 0x70726566 /* 'pref' */
00000DF2 6732 beq +0x34 /* 00000E26 */
00000DF4 0C86 6578 746E cmpi.l D6, 0x6578746E /* 'extn' */
00000DFA 672A beq +0x2C /* 00000E26 */
00000DFC 0C86 6374 726C cmpi.l D6, 0x6374726C /* 'ctrl' */
00000E02 6722 beq +0x24 /* 00000E26 */
00000E04 0C86 616D 6E75 cmpi.l D6, 0x616D6E75 /* 'amnu' */
00000E0A 671A beq +0x1C /* 00000E26 */
00000E0C 0C86 7374 7274 cmpi.l D6, 0x73747274 /* 'strt' */
00000E12 6712 beq +0x14 /* 00000E26 */
00000E14 0C86 7072 6E74 cmpi.l D6, 0x70726E74 /* 'prnt' */
00000E1A 670A beq +0xC /* 00000E26 */
00000E1C 3D7C FFCE 0018 move.w [A6 + 0x18], 0xFFCE
00000E22 6000 00A0 bra +0xA2 /* 00000EC4 */
label00000E26:
00000E26 7000 moveq.l D0, 0x00
00000E28 2D40 FF92 move.l [A6 - 0x6E], D0
00000E2C 0C45 8000 cmpi.w D5, 0x8000
00000E30 6626 bne +0x28 /* 00000E58 */
00000E32 3D78 0A58 FF98 move.w [A6 - 0x68], [0x00000A58 /* SysMap */]
00000E38 426E FF9C clr.w [A6 - 0x64]
00000E3C 7002 moveq.l D0, 0x02
00000E3E 2D40 FFBA move.l [A6 - 0x46], D0
00000E42 43EE FF80 lea.l A1, [A6 - 0x80]
00000E46 2049 movea.l A0, A1
00000E48 7008 moveq.l D0, 0x08
00000E4A A260 syscall FSDispatch/HFSDispatch, flags=2
00000E4C 3E00 move.w D7, D0
00000E4E 6670 bne +0x72 /* 00000EC0 */
00000E50 3D6E FFB4 FF96 move.w [A6 - 0x6A], [A6 - 0x4C]
00000E56 6004 bra +0x6 /* 00000E5C */
label00000E58:
00000E58 3D45 FF96 move.w [A6 - 0x6A], D5
label00000E5C:
00000E5C 7006 moveq.l D0, 0x06
00000E5E 2D40 FFA4 move.l [A6 - 0x5C], D0
00000E62 41EE FFFA lea.l A0, [A6 - 0x6]
00000E66 2D48 FFA0 move.l [A6 - 0x60], A0
00000E6A 43EE FF80 lea.l A1, [A6 - 0x80]
00000E6E 2049 movea.l A0, A1
00000E70 7030 moveq.l D0, 0x30
00000E72 A260 syscall FSDispatch/HFSDispatch, flags=2
00000E74 3E00 move.w D7, D0
00000E76 0C47 FFCE cmpi.w D7, 0xFFCE
00000E7A 6710 beq +0x12 /* 00000E8C */
00000E7C 4A47 tst.w D7
00000E7E 663A bne +0x3C /* 00000EBA */
00000E80 203C 0002 0000 move.l D0, 0x20000
00000E86 C0AE FFFC and.l D0, [A6 - 0x4]
00000E8A 662E bne +0x30 /* 00000EBA */
label00000E8C:
00000E8C 426E FF9C clr.w [A6 - 0x64]
00000E90 7000 moveq.l D0, 0x00
00000E92 2D40 FFDA move.l [A6 - 0x26], D0
00000E96 2D40 FFB0 move.l [A6 - 0x50], D0
00000E9A 43EE FF80 lea.l A1, [A6 - 0x80]
00000E9E 2049 movea.l A0, A1
00000EA0 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00000EA2 3E00 move.w D7, D0
00000EA4 661A bne +0x1C /* 00000EC0 */
00000EA6 4AAE FFDA tst.l [A6 - 0x26]
00000EAA 670A beq +0xC /* 00000EB6 */
00000EAC 38AE FF96 move.w [A4], [A6 - 0x6A]
00000EB0 26AE FFDA move.l [A3], [A6 - 0x26]
00000EB4 600A bra +0xC /* 00000EC0 */
label00000EB6:
00000EB6 7ED5 moveq.l D7, 0xFFFFFFD5
00000EB8 6006 bra +0x8 /* 00000EC0 */
label00000EBA:
00000EBA 4A47 tst.w D7
00000EBC 6602 bne +0x4 /* 00000EC0 */
00000EBE 7ED5 moveq.l D7, 0xFFFFFFD5
label00000EC0:
00000EC0 3D47 0018 move.w [A6 + 0x18], D7
label00000EC4:
00000EC4 4CEE 18F0 FF64 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x9C]
00000ECA 4E5E unlink A6
00000ECC 205F movea.l A0, [A7]+
00000ECE 4FEF 0010 lea.l A7, [A7 + 0x10]
00000ED2 4ED0 jmp [A0]
00000ED4 8A46 or.w D5, D6
00000ED6 494E chk.w D4, A6
00000ED8 4446 neg.w D6
00000EDA 4F4C chk.w D7, A4
00000EDC 4445 neg.w D5
00000EDE 5200 addq.b D0, 1
00000EE0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000EE2-00000EE6
export_138:
fn00000EE2:
00000EE2 4E56 FFCC link A6, -0x0034
// end alternate branch 00000EE2-00000EE6
export_138: // at 00000EE2 (misaligned)
fn00000EE2: // (misaligned)
00000EE4 FFCC .invalid <<F/7/7>>
00000EE6 2F07 move.l -[A7], D7
00000EE8 2D6E 0010 FFDE move.l [A6 - 0x22], [A6 + 0x10]
00000EEE 558F subq.l A7, 2
00000EF0 486E FFCC pea.l [A6 - 0x34]
00000EF4 7000 moveq.l D0, 0x00
00000EF6 1F00 move.b -[A7], D0
00000EF8 4EBA FD40 jsr [PC - 0x2C0 /* 00000C3A */]
00000EFC 3E1F move.w D7, [A7]+
00000EFE 206E 000C movea.l A0, [A6 + 0xC]
00000F02 30AE FFE2 move.w [A0], [A6 - 0x1E]
00000F06 206E 0008 movea.l A0, [A6 + 0x8]
00000F0A 20AE FFFC move.l [A0], [A6 - 0x4]
00000F0E 3D47 0014 move.w [A6 + 0x14], D7
00000F12 2E2E FFC8 move.l D7, [A6 - 0x38]
00000F16 4E5E unlink A6
00000F18 205F movea.l A0, [A7]+
00000F1A 4FEF 000C lea.l A7, [A7 + 0xC]
00000F1E 4ED0 jmp [A0]
00000F20 8748 4745 pack -[A3], -[A0], 0x4745
00000F24 5456 addq.w [A6], 2
00000F26 4F4C chk.w D7, A4
00000F28 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000F2A-00000F2E
fn00000F2A:
00000F2A 4E56 FFCC link A6, -0x0034
// end alternate branch 00000F2A-00000F2E
fn00000F2A: // (misaligned)
00000F2C FFCC .invalid <<F/7/7>>
00000F2E 2D6E 000E FFDE move.l [A6 - 0x22], [A6 + 0xE]
00000F34 3D6E 000C FFE2 move.w [A6 - 0x1E], [A6 + 0xC]
00000F3A 2D6E 0008 FFFC move.l [A6 - 0x4], [A6 + 0x8]
00000F40 558F subq.l A7, 2
00000F42 486E FFCC pea.l [A6 - 0x34]
00000F46 7000 moveq.l D0, 0x00
00000F48 1F00 move.b -[A7], D0
00000F4A 4EBA FCDC jsr [PC - 0x324 /* 00000C28 */]
00000F4E 3D5F 0012 move.w [A6 + 0x12], [A7]+
00000F52 4E5E unlink A6
00000F54 205F movea.l A0, [A7]+
00000F56 4FEF 000A lea.l A7, [A7 + 0xA]
00000F5A 4ED0 jmp [A0]
00000F5C 8748 5345 pack -[A3], -[A0], 0x5345
00000F60 5456 addq.w [A6], 2
00000F62 4F4C chk.w D7, A4
00000F64 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_139: // at 00000F66 (misaligned)
00000F68 FF86 .invalid <<F/6/7>>
00000F6A 2F07 move.l -[A7], D7
00000F6C 3D6E 0016 FF9C move.w [A6 - 0x64], [A6 + 0x16]
00000F72 2D6E 0012 FFB6 move.l [A6 - 0x4A], [A6 + 0x12]
00000F78 2D6E 000E FF98 move.l [A6 - 0x68], [A6 + 0xE]
00000F7E 422E FFA0 clr.b [A6 - 0x60]
00000F82 1D6E 000C FFA1 move.b [A6 - 0x5F], [A6 + 0xC]
00000F88 7000 moveq.l D0, 0x00
00000F8A 2D40 FFA2 move.l [A6 - 0x5E], D0
00000F8E 558F subq.l A7, 2
00000F90 486E FF86 pea.l [A6 - 0x7A]
00000F94 7000 moveq.l D0, 0x00
00000F96 1F00 move.b -[A7], D0
00000F98 4EBA FCC8 jsr [PC - 0x338 /* 00000C62 */]
00000F9C 3E1F move.w D7, [A7]+
00000F9E 206E 0008 movea.l A0, [A6 + 0x8]
00000FA2 30AE FF9E move.w [A0], [A6 - 0x62]
00000FA6 3D47 0018 move.w [A6 + 0x18], D7
00000FAA 2E2E FF82 move.l D7, [A6 - 0x7E]
00000FAE 4E5E unlink A6
00000FB0 205F movea.l A0, [A7]+
00000FB2 4FEF 0010 lea.l A7, [A7 + 0x10]
00000FB6 4ED0 jmp [A0]
00000FB8 8548 4F50 pack -[A2], -[A0], 0x4F50
00000FBC 454E chk.w D2, A6
00000FBE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000FC0-00000FC4
fn00000FC0:
00000FC0 4E56 FF86 link A6, -0x007A
// end alternate branch 00000FC0-00000FC4
fn00000FC0: // (misaligned)
00000FC2 FF86 .invalid <<F/6/7>>
00000FC4 2F07 move.l -[A7], D7
00000FC6 3D6E 0016 FF9C move.w [A6 - 0x64], [A6 + 0x16]
00000FCC 2D6E 0012 FFB6 move.l [A6 - 0x4A], [A6 + 0x12]
00000FD2 2D6E 000E FF98 move.l [A6 - 0x68], [A6 + 0xE]
00000FD8 422E FFA0 clr.b [A6 - 0x60]
00000FDC 1D6E 000C FFA1 move.b [A6 - 0x5F], [A6 + 0xC]
00000FE2 7000 moveq.l D0, 0x00
00000FE4 2D40 FFA2 move.l [A6 - 0x5E], D0
00000FE8 558F subq.l A7, 2
00000FEA 486E FF86 pea.l [A6 - 0x7A]
00000FEE 7000 moveq.l D0, 0x00
00000FF0 1F00 move.b -[A7], D0
00000FF2 4EBA FC80 jsr [PC - 0x380 /* 00000C74 */]
00000FF6 3E1F move.w D7, [A7]+
00000FF8 206E 0008 movea.l A0, [A6 + 0x8]
00000FFC 30AE FF9E move.w [A0], [A6 - 0x62]
00001000 3D47 0018 move.w [A6 + 0x18], D7
00001004 2E2E FF82 move.l D7, [A6 - 0x7E]
00001008 4E5E unlink A6
0000100A 205F movea.l A0, [A7]+
0000100C 4FEF 0010 lea.l A7, [A7 + 0x10]
00001010 4ED0 jmp [A0]
00001012 8748 4F50 pack -[A3], -[A0], 0x4F50
00001016 454E chk.w D2, A6
00001018 5246 addq.w D6, 1
0000101A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_140: // at 0000101C (misaligned)
0000101E FF86 .invalid <<F/6/7>>
00001020 48E7 0300 movem.l -[A7], D6,D7
00001024 2C2E 0014 move.l D6, [A6 + 0x14]
00001028 3D6E 0018 FF9C move.w [A6 - 0x64], [A6 + 0x18]
0000102E 2D46 FFB6 move.l [A6 - 0x4A], D6
00001032 2D6E 0010 FF98 move.l [A6 - 0x68], [A6 + 0x10]
00001038 422E FFA0 clr.b [A6 - 0x60]
0000103C 558F subq.l A7, 2
0000103E 486E FF86 pea.l [A6 - 0x7A]
00001042 7000 moveq.l D0, 0x00
00001044 1F00 move.b -[A7], D0
00001046 4EBA FC3E jsr [PC - 0x3C2 /* 00000C86 */]
0000104A 3E1F move.w D7, [A7]+
0000104C 6636 bne +0x38 /* 00001084 */
0000104E 426E FFA2 clr.w [A6 - 0x5E]
00001052 558F subq.l A7, 2
00001054 486E FF86 pea.l [A6 - 0x7A]
00001058 7000 moveq.l D0, 0x00
0000105A 1F00 move.b -[A7], D0
0000105C 4EBA FC3A jsr [PC - 0x3C6 /* 00000C98 */]
00001060 3E1F move.w D7, [A7]+
00001062 6620 bne +0x22 /* 00001084 */
00001064 2D6E 000C FFAA move.l [A6 - 0x56], [A6 + 0xC]
0000106A 2D6E 0008 FFA6 move.l [A6 - 0x5A], [A6 + 0x8]
00001070 2D46 FFB6 move.l [A6 - 0x4A], D6
00001074 558F subq.l A7, 2
00001076 486E FF86 pea.l [A6 - 0x7A]
0000107A 7000 moveq.l D0, 0x00
0000107C 1F00 move.b -[A7], D0
0000107E 4EBA FC2A jsr [PC - 0x3D6 /* 00000CAA */]
00001082 3E1F move.w D7, [A7]+
label00001084:
00001084 3D47 001A move.w [A6 + 0x1A], D7
00001088 4CEE 00C0 FF7E movem.l D6,D7, [A6 - 0x82]
0000108E 4E5E unlink A6
00001090 205F movea.l A0, [A7]+
00001092 4FEF 0012 lea.l A7, [A7 + 0x12]
00001096 4ED0 jmp [A0]
00001098 8748 4352 pack -[A3], -[A0], 0x4352
0000109C 4541 chk.w D2, D1
0000109E 5445 addq.w D5, 2
000010A0 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_141: // at 000010A2 (misaligned)
000010A4 FF86 .invalid <<F/6/7>>
000010A6 2F07 move.l -[A7], D7
000010A8 3D6E 0014 FF9C move.w [A6 - 0x64], [A6 + 0x14]
000010AE 2D6E 0010 FFB6 move.l [A6 - 0x4A], [A6 + 0x10]
000010B4 2D6E 000C FF98 move.l [A6 - 0x68], [A6 + 0xC]
000010BA 422E FFA0 clr.b [A6 - 0x60]
000010BE 426E FFA2 clr.w [A6 - 0x5E]
000010C2 558F subq.l A7, 2
000010C4 486E FF86 pea.l [A6 - 0x7A]
000010C8 7000 moveq.l D0, 0x00
000010CA 1F00 move.b -[A7], D0
000010CC 4EBA FBCA jsr [PC - 0x436 /* 00000C98 */]
000010D0 3E1F move.w D7, [A7]+
000010D2 206E 0008 movea.l A0, [A6 + 0x8]
000010D6 43EE FFA6 lea.l A1, [A6 - 0x5A]
000010DA 20D9 move.l [A0]+, [A1]+
000010DC 20D9 move.l [A0]+, [A1]+
000010DE 20D9 move.l [A0]+, [A1]+
000010E0 20D9 move.l [A0]+, [A1]+
000010E2 3D47 0016 move.w [A6 + 0x16], D7
000010E6 2E2E FF82 move.l D7, [A6 - 0x7E]
000010EA 4E5E unlink A6
000010EC 205F movea.l A0, [A7]+
000010EE 4FEF 000E lea.l A7, [A7 + 0xE]
000010F2 4ED0 jmp [A0]
000010F4 8948 4745 pack -[A4], -[A0], 0x4745
000010F8 5446 addq.w D6, 2
000010FA 494E chk.w D4, A6
000010FC 464F not.w A7
000010FE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001100-00001104
export_142:
fn00001100:
00001100 4E56 FFCC link A6, -0x0034
// end alternate branch 00001100-00001104
export_142: // at 00001100 (misaligned)
fn00001100: // (misaligned)
00001102 FFCC .invalid <<F/7/7>>
00001104 2F07 move.l -[A7], D7
00001106 3D6E 0014 FFE2 move.w [A6 - 0x1E], [A6 + 0x14]
0000110C 426E FFE6 clr.w [A6 - 0x1A]
00001110 7000 moveq.l D0, 0x00
00001112 2D40 FFDE move.l [A6 - 0x22], D0
00001116 558F subq.l A7, 2
00001118 486E FFCC pea.l [A6 - 0x34]
0000111C 7000 moveq.l D0, 0x00
0000111E 1F00 move.b -[A7], D0
00001120 4EBA FB2A jsr [PC - 0x4D6 /* 00000C4C */]
00001124 3E1F move.w D7, [A7]+
00001126 206E 0010 movea.l A0, [A6 + 0x10]
0000112A 30AE FFEC move.w [A0], [A6 - 0x14]
0000112E 206E 000C movea.l A0, [A6 + 0xC]
00001132 20AE FFFC move.l [A0], [A6 - 0x4]
00001136 206E 0008 movea.l A0, [A6 + 0x8]
0000113A 20AE FFE8 move.l [A0], [A6 - 0x18]
0000113E 3D47 0016 move.w [A6 + 0x16], D7
00001142 2E2E FFC8 move.l D7, [A6 - 0x38]
00001146 4E5E unlink A6
00001148 205F movea.l A0, [A7]+
0000114A 4FEF 000E lea.l A7, [A7 + 0xE]
0000114E 4ED0 jmp [A0]
00001150 8947 4554 pack D4, D7, 0x4554
00001154 5744 subq.w D4, 3
00001156 494E chk.w D4, A6
00001158 464F not.w A7
0000115A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_143: // at 0000115C (misaligned)
0000115E FFE8 .invalid <<F/7/7>>
00001160 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
00001164 182E 0008 move.b D4, [A6 + 0x8]
00001168 286E 000A movea.l A4, [A6 + 0xA]
0000116C 2A2E 000E move.l D5, [A6 + 0xE]
00001170 3C2E 0012 move.w D6, [A6 + 0x12]
00001174 0C78 0600 015A cmpi.w [0x0000015A /* SysVersion */], 0x600
0000117A 6D34 blt +0x36 /* 000011B0 */
0000117C 303C A89F move.w D0, 0xA89F
00001180 A146 syscall GetTrapAddress, flags=1
00001182 2D48 FFE8 move.l [A6 - 0x18], A0
00001186 598F subq.l A7, 4
00001188 3F3C A81A move.w -[A7], 0xA81A
0000118C 7001 moveq.l D0, 0x01
0000118E 1F00 move.b -[A7], D0
00001190 4EBA F874 jsr [PC - 0x78C /* 00000A06 */]
00001194 202E FFE8 move.l D0, [A6 - 0x18]
00001198 B09F cmp.l D0, [A7]+
0000119A 6714 beq +0x16 /* 000011B0 */
0000119C 558F subq.l A7, 2
0000119E 3F06 move.w -[A7], D6
000011A0 2F05 move.l -[A7], D5
000011A2 2F0C move.l -[A7], A4
000011A4 1F04 move.b -[A7], D4
000011A6 A81A syscall HOpenResFile
000011A8 3D5F 0014 move.w [A6 + 0x14], [A7]+
000011AC 6000 00D0 bra +0xD2 /* 0000127E */
label000011B0:
000011B0 3D7C FFFF FFEC move.w [A6 - 0x14], 0xFFFF
000011B6 558F subq.l A7, 2
000011B8 3F06 move.w -[A7], D6
000011BA 2F05 move.l -[A7], D5
000011BC 2F0C move.l -[A7], A4
000011BE 1F04 move.b -[A7], D4
000011C0 486E FFEE pea.l [A6 - 0x12]
000011C4 4EBA FDFA jsr [PC - 0x206 /* 00000FC0 */]
000011C8 3E1F move.w D7, [A7]+
000011CA 660C bne +0xE /* 000011D8 */
000011CC 558F subq.l A7, 2
000011CE 3F2E FFEE move.w -[A7], [A6 - 0x12]
000011D2 4EBA F8C6 jsr [PC - 0x73A /* 00000A9A */]
000011D6 3E1F move.w D7, [A7]+
label000011D8:
000011D8 4A47 tst.w D7
000011DA 6708 beq +0xA /* 000011E4 */
000011DC 0C47 FFCF cmpi.w D7, 0xFFCF
000011E0 6600 0092 bne +0x94 /* 00001274 */
label000011E4:
000011E4 558F subq.l A7, 2
000011E6 7000 moveq.l D0, 0x00
000011E8 2F00 move.l -[A7], D0
000011EA 486E FFF0 pea.l [A6 - 0x10]
000011EE 486E FFF2 pea.l [A6 - 0xE]
000011F2 4EBA FCEE jsr [PC - 0x312 /* 00000EE2 */]
000011F6 3E1F move.w D7, [A7]+
000011F8 667A bne +0x7C /* 00001274 */
000011FA 558F subq.l A7, 2
000011FC 3F2E FFF0 move.w -[A7], [A6 - 0x10]
00001200 486E FFF6 pea.l [A6 - 0xA]
00001204 486E FFF8 pea.l [A6 - 0x8]
00001208 486E FFFC pea.l [A6 - 0x4]
0000120C 4EBA FEF2 jsr [PC - 0x10E /* 00001100 */]
00001210 3E1F move.w D7, [A7]+
00001212 6660 bne +0x62 /* 00001274 */
00001214 558F subq.l A7, 2
00001216 7000 moveq.l D0, 0x00
00001218 2F00 move.l -[A7], D0
0000121A 3F06 move.w -[A7], D6
0000121C 2F05 move.l -[A7], D5
0000121E 4EBA FD0A jsr [PC - 0x2F6 /* 00000F2A */]
00001222 3E1F move.w D7, [A7]+
00001224 661A bne +0x1C /* 00001240 */
00001226 558F subq.l A7, 2
00001228 200C move.l D0, A4
0000122A A055 syscall StripAddress
0000122C 2F00 move.l -[A7], D0
0000122E 7000 moveq.l D0, 0x00
00001230 3F00 move.w -[A7], D0
00001232 1F04 move.b -[A7], D4
00001234 A9C4 syscall OpenRFPerm
00001236 3D5F FFEC move.w [A6 - 0x14], [A7]+
0000123A 558F subq.l A7, 2
0000123C A9AF syscall ResError
0000123E 3E1F move.w D7, [A7]+
label00001240:
00001240 7002 moveq.l D0, 0x02
00001242 B0AE FFF8 cmp.l D0, [A6 - 0x8]
00001246 6616 bne +0x18 /* 0000125E */
00001248 558F subq.l A7, 2
0000124A 7000 moveq.l D0, 0x00
0000124C 2F00 move.l -[A7], D0
0000124E 3F2E FFF0 move.w -[A7], [A6 - 0x10]
00001252 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00001256 4EBA FCD2 jsr [PC - 0x32E /* 00000F2A */]
0000125A 381F move.w D4, [A7]+
0000125C 6010 bra +0x12 /* 0000126E */
label0000125E:
0000125E 558F subq.l A7, 2
00001260 7000 moveq.l D0, 0x00
00001262 2F00 move.l -[A7], D0
00001264 3F2E FFF0 move.w -[A7], [A6 - 0x10]
00001268 4EBA F8B4 jsr [PC - 0x74C /* 00000B1E */]
0000126C 381F move.w D4, [A7]+
label0000126E:
0000126E 4A47 tst.w D7
00001270 6602 bne +0x4 /* 00001274 */
00001272 3E04 move.w D7, D4
label00001274:
00001274 31C7 0A60 move.w [0x00000A60 /* ResErr */], D7
00001278 3D6E FFEC 0014 move.w [A6 + 0x14], [A6 - 0x14]
label0000127E:
0000127E 4CEE 10F0 FFD4 movem.l D4,D5,D6,D7,A4, [A6 - 0x2C]
00001284 4E5E unlink A6
00001286 205F movea.l A0, [A7]+
00001288 4FEF 000C lea.l A7, [A7 + 0xC]
0000128C 4ED0 jmp [A0]
0000128E 9048 sub.w D0, A0
00001290 4F50 chk.w D7, [A0]
00001292 454E chk.w D2, A6
00001294 5245 addq.w D5, 1
00001296 5346 subq.w D6, 1
00001298 494C chk.w D4, A4
0000129A 4547 chk.w D2, D7
0000129C 4C55 4500 movem.l A0,A2,A6, [A5]
000012A0 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_144: // at 000012A2 (misaligned)
000012A4 0000 48E7 ori.b D0, 0xE7
000012A8 0720 btst -[A0], D3
000012AA 7A00 moveq.l D5, 0x00
000012AC 2E2E 0008 move.l D7, [A6 + 0x8]
000012B0 6744 beq +0x46 /* 000012F6 */
000012B2 2047 movea.l A0, D7
000012B4 2050 movea.l A0, [A0]
000012B6 3C10 move.w D6, [A0]
label000012B8:
000012B8 3446 movea.w A2, D6
000012BA D5CD add.l A2, A5
000012BC 7001 moveq.l D0, 0x01
000012BE D05A add.w D0, [A2]+
000012C0 E548 lsl D0.w, 2
000012C2 D4C0 add.w A2, D0
000012C4 4A45 tst.w D5
000012C6 6604 bne +0x6 /* 000012CC */
000012C8 3A2A 0004 move.w D5, [A2 + 0x4]
label000012CC:
000012CC 2047 movea.l A0, D7
000012CE 2050 movea.l A0, [A0]
000012D0 3086 move.w [A0], D6
000012D2 322A 0008 move.w D1, [A2 + 0x8]
000012D6 6708 beq +0xA /* 000012E0 */
000012D8 3041 movea.w A0, D1
000012DA D1CD add.l A0, A5
000012DC 2F07 move.l -[A7], D7
000012DE 4E90 jsr [A0]
label000012E0:
000012E0 3C12 move.w D6, [A2]
000012E2 66D4 bne -0x2A /* 000012B8 */
000012E4 4A45 tst.w D5
000012E6 670A beq +0xC /* 000012F2 */
000012E8 3045 movea.w A0, D5
000012EA D1CD add.l A0, A5
000012EC 2F07 move.l -[A7], D7
000012EE 4E90 jsr [A0]
000012F0 6004 bra +0x6 /* 000012F6 */
label000012F2:
000012F2 2047 movea.l A0, D7
000012F4 A023 syscall DisposHandle/DisposeHandle
label000012F6:
000012F6 4CEE 04E0 FFF0 movem.l D5,D6,D7,A2, [A6 - 0x10]
000012FC 4E5E unlink A6
000012FE 4E75 rts
export_145:
00001300 226F 0004 movea.l A1, [A7 + 0x4]
00001304 3221 move.w D1, -[A1]
00001306 226F 0008 movea.l A1, [A7 + 0x8]
0000130A 2251 movea.l A1, [A1]
label0000130C:
0000130C 3251 movea.w A1, [A1]
0000130E D3CD add.l A1, A5
00001310 3019 move.w D0, [A1]+
00001312 6BF8 bmi -0x6 /* 0000130C */
label00001314:
00001314 3059 movea.w A0, [A1]+
00001316 B259 cmp.w D1, [A1]+
00001318 57C8 FFFA dbeq D0, -0x8 /* 00001314 */
0000131C 66EE bne -0x10 /* 0000130C */
0000131E D1CD add.l A0, A5
00001320 4E75 rts
export_146:
00001322 4E56 0000 link A6, 0
00001326 48E7 0320 movem.l -[A7], D6,D7,A2
0000132A 2C2E 0008 move.l D6, [A6 + 0x8]
0000132E 9C8D sub.l D6, A5
00001330 7000 moveq.l D0, 0x00
00001332 7E00 moveq.l D7, 0x00
00001334 610C bsr +0xE /* 00001342 */
label00001336:
00001336 2007 move.l D0, D7
00001338 4CEE 04C0 FFF4 movem.l D6,D7,A2, [A6 - 0xC]
0000133E 4E5E unlink A6
00001340 4E75 rts
fn00001342:
00001342 3446 movea.w A2, D6
00001344 D5CD add.l A2, A5
00001346 7201 moveq.l D1, 0x01
00001348 D25A add.w D1, [A2]+
0000134A E549 lsl D1.w, 2
0000134C D4C1 add.w A2, D1
0000134E 4A87 tst.l D7
00001350 6628 bne +0x2A /* 0000137A */
00001352 4A80 tst.l D0
00001354 6604 bne +0x6 /* 0000135A */
00001356 202A 000A move.l D0, [A2 + 0xA]
label0000135A:
0000135A 322A 0002 move.w D1, [A2 + 0x2]
0000135E 6710 beq +0x12 /* 00001370 */
00001360 3041 movea.w A0, D1
00001362 D1CD add.l A0, A5
00001364 2F00 move.l -[A7], D0
00001366 4E90 jsr [A0]
00001368 588F addq.l A7, 4
0000136A 2E00 move.l D7, D0
0000136C 660C bne +0xE /* 0000137A */
0000136E 60C6 bra -0x38 /* 00001336 */
label00001370:
00001370 3212 move.w D1, [A2]
00001372 6606 bne +0x8 /* 0000137A */
00001374 A322 syscall NewHandleClear, flags=3
00001376 2E08 move.l D7, A0
00001378 67BC beq -0x42 /* 00001336 */
label0000137A:
0000137A 48E7 0220 movem.l -[A7], D6,A2
0000137E 3C12 move.w D6, [A2]
00001380 6702 beq +0x4 /* 00001384 */
00001382 61BE bsr -0x40 /* 00001342 */
label00001384:
00001384 4CDF 0440 movem.l D6,A2, [A7]+
00001388 2047 movea.l A0, D7
0000138A 2050 movea.l A0, [A0]
0000138C 3086 move.w [A0], D6
0000138E 322A 0006 move.w D1, [A2 + 0x6]
00001392 670A beq +0xC /* 0000139E */
00001394 3041 movea.w A0, D1
00001396 D1CD add.l A0, A5
00001398 2F07 move.l -[A7], D7
0000139A 4E90 jsr [A0]
0000139C 588F addq.l A7, 4
label0000139E:
0000139E 4E75 rts